#![allow(non_snake_case)]
use leptos::prelude::*;


#[component]
pub fn Stat(
    title: String,
    value: String,
    desc: String,
) -> impl IntoView {
    view! {
        <div class="stats shadow">
            <div class="stat">
                <div class="stat-title">{title}</div>
                <div class="stat-value">{value}</div>
                <div class="stat-desc">{desc}</div>
            </div>
        </div>
    }
}